package common.Tables;
import java.io.Serializable;

/**
 * GivingTasks include Client ,Job --> give the Task
 * @author Orit 
 */

public class GivingTasks implements Table, Serializable{
	
	private static final long serialVersionUID = 1L;
	private long id;		 //serial number of the arrangement
	private Client client;   //by this client 
	private Job job ;		 //and this job
	private Tasks task;		 //given the Task 
	
	public GivingTasks(Client client,Job job,Tasks task) {
		this.client = client;
		this.job = job;
		this.task = task;
	}

	public GivingTasks() {
		// TODO Auto-generated constructor stub
	}
	//-----------------setters && getters for candidate----------------//
	/**
	 * get serial number id
	 */
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	/**
	 * @return the client 
	 */
	public Client getClient() {
		return client;
	}
	public void setClient(Client client) {
		this.client = client;
	}
	/**
	 * @return the job
	 */
	public Job getJob() {
		return job;
	}
	public void setJob(Job job) {
		this.job = job;
	}
	/**
	 * @return the Task THAT Given
	 */
	public Tasks getTask() {
		return task;
	}
	public void setTask(Tasks task) {
		this.task = task;
	}
}
